<div class="row">
    <div class="col-lg-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>修改钥匙申请</h5>
                <div class="ibox-tools" style="top:10px;">

                </div>
            </div>
            <div class="ibox-content">

                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">姓名</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.name" type="text" placeholder="必填，请填写姓名"
                               class="form-control">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">手机号</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.tel" type="text" placeholder="必填，请填写手机号"
                               class="form-control">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">用户类型</label>
                    <div class="col-sm-10">
                        <select class="custom-select" v-model="editApplicationKeyInfo.typeCd">
                            <option selected disabled value="">必填，请选择用户类型</option>
                            <option value="10001">保洁</option>
                            <option value="10002">保安</option>
                            <option value="10003">其他人员</option>
                        </select></div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">性别</label>
                    <div class="col-sm-10">
                        <select class="custom-select" v-model="editApplicationKeyInfo.sex">
                            <option selected disabled value="">必填，请选择性别</option>
                            <option value="0">男</option>
                            <option value="1">女</option>
                        </select></div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">年龄</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.age" type="text" placeholder="必填，请填写年龄"
                               class="form-control">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">身份证号</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.idCard" type="text" placeholder="必填，请填写身份证号"
                               class="form-control">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">设备位置</label>
                    <div class="col-sm-10">
                        <select class="custom-select" v-model="editApplicationKeyInfo.locationTypeCd">
                            <option selected disabled value="">必填，请选择设备位置</option>
                            <option value="1000">东大门</option>
                            <option value="1001">西大门</option>
                            <option value="1002">北大门</option>
                            <option value="1003">南大门</option>
                            <option value="2000">单元门</option>
                            <option value="3000">房屋门</option>
                        </select>
                    </div>
                </div>
                <div class="form-group row"
                     v-show="editApplicationKeyInfo.locationTypeCd == '2000' || editApplicationKeyInfo.locationTypeCd == '3000'  ">
                    <label class="col-sm-2 col-form-label">归属楼栋</label>
                    <div class="col-sm-10">
                        <vc:create name="floorSelect2"
                                   parentModal="editApplicationKeyModel"
                                   namespace="editApplicationKey"
                        ></vc:create>
                    </div>
                </div>
                <div class="form-group row"
                     v-show="editApplicationKeyInfo.locationTypeCd == '2000' || editApplicationKeyInfo.locationTypeCd == '3000'  ">
                    <label class="col-sm-2 col-form-label">归属单元</label>
                    <div class="col-sm-10">
                        <vc:create name="unitSelect2"
                                   parentModal="editApplicationKeyModel"
                                   callBackListener="editApplicationKey"
                                   callBackFunction="notify"
                                   namespace="editApplicationKey"
                        ></vc:create>
                    </div>
                </div>
                <div class="form-group row"
                     v-show="editApplicationKeyInfo.locationTypeCd == '3000'  ">
                    <label class="col-sm-2 col-form-label">归属房屋</label>
                    <div class="col-sm-10">
                        <vc:create name="roomSelect2"
                                   parentModal="editApplicationKeyModel"
                                   callBackListener="editApplicationKey"
                                   callBackFunction="notify"
                                   namespace="editApplicationKey"
                        ></vc:create>
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">开始时间</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.startTime" readonly type="text" placeholder="必填，请填写开始时间"
                               class="form-control editApplicationStartTime">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label">结束时间</label>
                    <div class="col-sm-10">
                        <input v-model="editApplicationKeyInfo.endTime" readonly type="text" placeholder="必填，请填写结束时间"
                               class="form-control editApplicationEndTime">
                    </div>
                </div>

                <div class="ibox-content">
                    <button class="btn btn-primary float-right" type="button"
                            v-on:click="editApplicationKey()"><i class="fa fa-check"></i>&nbsp;保存
                    </button>
                    <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                            v-on:click="_closeEditApplicationKeyView()">取消
                    </button>
                </div>

            </div>
        </div>
    </div>
</div>



